package xyz.labmem.main.modular.app.gmjj.entity.sub;

import com.alibaba.excel.annotation.ExcelIgnore
import com.alibaba.excel.annotation.format.DateTimeFormat
import com.alibaba.excel.annotation.ExcelProperty
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import xyz.labmem.base.core.base.GFBaseEntity
import java.util.*
import com.fasterxml.jackson.annotation.JsonFormat
import xyz.labmem.base.core.annotion.DynamicPageColumnMapping

/**
 * 船舶制造企业采集_子对象 cbzzqycjb_sub
 * 
 * @author ruoyi
 * @date 2022-03-08
 */
@DynamicPageColumnMapping(hiedField=["pkId"])
@TableName("cbzzqycjb_sub")

@ApiModel(value = "船舶制造企业采集_子")
class CbzzqycjbSub : GFBaseEntity<CbzzqycjbSub>() {


    /** 外键_关联主表 */
    @ExcelIgnore
    @TableField("pk_id")

    var pkId : String? = null

    /** 产品名称 */
    @ExcelProperty("产品名称")
    @TableField("cpmc")
    @ApiModelProperty(value = "产品名称")
    var cpmc : String? = null
    /** 船舶属性_载重吨 */
    @ExcelProperty("船舶属性_载重吨")
    @TableField("cbsx_zzd")
    @ApiModelProperty(value = "船舶属性_载重吨(吨)")
    var cbsxZzd : String? = null
    /** 船舶属性_总吨 */
    @ExcelProperty("船舶属性_总吨")
    @TableField("cbsx_zd")
    @ApiModelProperty(value = "船舶属性_总吨(吨)")
    var cbsxZd : String? = null

    /** 船舶属性_船东国籍 */
    @ExcelProperty("船舶属性_船东国籍")
    @TableField("cbsx_cdgj")
    @ApiModelProperty(value = "船舶属性_船东国籍")
    var cbsxCdgj : String? = null

    /** 填表日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty("填表日期")
    @TableField("tbrq")
    @ApiModelProperty(value = "填表日期")
    var tbrq : Date? = null

}
